package com.maxatime.service.impl;

import com.maxatime.dao.GoodsMapper;
import com.maxatime.pojo.Goods;
import com.maxatime.service.GoodsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author Mr.Zhao
 * @title:
 * @projectName phoenix
 * @description: TODO
 * @date 2021/9/13 19:16
 */
@Service
public class GoodsServiceImpl implements GoodsService {

    @Autowired
    private GoodsMapper goodsMapper;

    @Override
    public List<Goods> goodsFind() {
        return goodsMapper.goodsFind();
    }

    @Override
    public List<Goods> ShoppingCartlist() {
        return goodsMapper.ShoppingCartlist();
    }
}
